package com.cloud.product.service.impl;
import java.math.BigDecimal;

import com.cloud.product.entity.Product;
import com.cloud.product.service.ProductService;
import org.springframework.stereotype.Service;

/**
 * packageName com.cloud.product.service.impl
 *
 * @author yanshuanglong
 * @version JDK 8
 * @className ProductServiceImpl
 * @date 2025/3/17
 * @description TODO
 */
@Service
public class ProductServiceImpl implements ProductService {

    @Override
    public Product getProduct(Long id) {
        Product product = new Product();
        product.setId(id);
        product.setPrice(new BigDecimal("999.99"));
        product.setProductName("死侍");
        product.setNum(12);
        System.out.println("hello");
        return product;
    }
}
